<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script>
    'use strict';
    var human={
      name:"zcc3",
      age:18,
      run:function () {
        console.log(this.name+" can run...");
      }
    };
    var xiaowang={
      name:"xiaowang"
    };
    //切记是两侧各两个下划线，共计四个
    //__proto__相当于继承，保留自身的属性和方法，并获得父类的属性和方法，重复部分以自身为准
    xiaowang.__proto__=human;
  </script>
</head>
<body>

</body>
</html>